<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

    <head>
        <?php
        echo $this->action('header', 'index', 'default', array ());
        ?>
        <style type="text/css">
            .firstLabel {
                display: -moz-inline-box;
                min-width: 10em;
                width: 10em;
                color: #5A5A5A;
                font-family: Verdana, Arial, sans-serif;
                text-align: left;
                padding-left: 0.3em;
            } .fieldset {
                background: #F5EEDE;
            } .form {
                display: block;
                margin: auto;
                text-align: left;
            } .description {
                background: #D0E3F5;
                color: #5A5A5A;
                font-family: Verdana, Arial, sans-serif;
                padding: 0.3em;
            } .description span {
                padding-left: 0.3em;
                text-align: left;
            } .description .notice {
                display: block;
                float: right;
                color: #666633;
            } .buttonset {
                text-align: center;
            }
            
            form {
                background: #ff0;
            } .dialog {
                margin: 0;
                padding: 0;
            }
        </style>
	 <script type="text/javascript">
	 dojo.require("dojo.parser");
            dojo.require("dijit.Editor");
	</script>
    </head>
    <body class="tundra dialog">
    <?php
    echo $this->form;
    ?>
   
    <script type="text/javascript">
       
        $(function(){
            $("#divsubmit").append("<input type='hidden' id='content' name ='content' value='' />");
        });
        $("#submit").click(function(){
            if (dijit.byId("content")) {
                var strContent = dijit.byId("content").getValue();
                $("#content").attr("value", strContent);
            }
            $("#myForm").submit();
        })
    </script>
</body>
</html>
